package my.design.decorator.up;

/**
 * @author zp
 * @version 1.0
 * @description: 修饰对象的实现类
 * @date 2022/10/10 19:30
 */
public class Zoushiming extends Master {
    public Zoushiming(Person person){
        super(person);
    }
    @Override
    public void sport() {
        super.sport();
        teachBoxing();
    }
    public void teachBoxing(){
        System.out.println("邹市明教普通人拳击");
    }
}

